<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
     var user = {
         name:"abolr",
         name1:"bosaidong",
         name2:"pulomixiusi"
     }
        //  遍历数据结果 是 对象类型
     for (const item in user) {
         console.log("对象信息：",item+"::key+value::"+user[item]);
     }
     //输出结果：name::key+value::abolr   name1::key+value::bosaidong  name2::key+value::pulomixiusi
    </script>
</body>
</html>